// --------------------------------------------------------------------------------------------------------------------
// <copyright file="RoleEnvironmentConfigurationSettingChange.cs" company="AzureContrib (Open source library http://azurecontrib.codeplex.com)">
//   Microsoft Public License (Ms-PL)
// </copyright>
// <summary>
//   Represents a change to the configuration of a role.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace AzureContrib.WindowsAzure.ServiceRuntime
{
	/// <summary>
	/// Represents a change to the configuration of a role.
	/// </summary>
	public class RoleEnvironmentConfigurationSettingChange : RoleEnvironmentChange
	{
		/// <summary>
		/// Initializes a new instance of the <see cref="RoleEnvironmentConfigurationSettingChange"/> class. 
		/// </summary>
		/// <param name="configurationSettingName">
		/// The name of the configuration setting that has been changed.
		/// </param>
		public RoleEnvironmentConfigurationSettingChange(string configurationSettingName)
		{
			ConfigurationSettingName = configurationSettingName;
		}

		/// <summary>
		/// Gets the name of the configuration setting that has been changed.
		/// </summary>
		public string ConfigurationSettingName { get; private set; }
	}
}